<!DOCTYPE html>
<html>
<head>
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" charset="utf-8">
    <title>注册页面</title>

    <!--<link rel="stylesheet" type="text/css" href="css/common.css">-->
    <!--<link rel="stylesheet" type="text/css" href="css/form.css">-->
    <!--<link rel="stylesheet" type="text/css" href="css/weui.css">-->


    <link rel="stylesheet" href="../common/css/login/weui.css">
    <script src="../common/js/login/jquery-1.7.2.min.js"></script>
    <script src="../common/js/AjaxJson.js"></script>
    <script src="../common/js/login/register.js"></script>

</head>
<body>
<div class="weui-cell" hidden="true">
    <div class="weui-cell__hd"><label class="weui-label">账号</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="text" id="custno" placeholder="请输入账号" onblur="isexist()"/>
    </div>
</div>
<div class="weui-cell">
    <div class="weui-cell__hd"><label class="weui-label">姓名</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="text" id="custname" placeholder="请输入姓名" />
    </div>
</div>

<div class="weui-cell">
    <div class="weui-cell__hd"><label class="weui-label">手机号</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="tel" id="custphone" placeholder="请输入手机号" onblur="isError()"/>
    </div>
</div>
<div class="weui-cell">
    <div class="weui-cell__hd" type><label class="weui-label">密码</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="password" id="pwd1" placeholder="请输入密码" />
    </div>
</div>

<div class="weui-cell">
    <div class="weui-cell__hd"><label class="weui-label">确认密码</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="password" id="pwd2" placeholder="请确认密码"  onblur="compare()"/>
    </div>
</div>


<div class="weui-cell weui-cell_select weui-cell_select-after">
    <div class="weui-cell__hd">
        <label class="weui-label">性别</label>
    </div>
    <div class="weui-cell__bd">
        <select class="weui-select" name="select2" id="gender">
            <option value="男">男</option>
            <option value="女">女</option>
        </select>
    </div>
</div>

<div class="weui-cell">
    <div class="weui-cell__hd"><label class="weui-label">地址</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="text" value="" id="custaddr" placeholder="请输入地址"/>
    </div>
</div>

<div class="weui-cell">
    <div class="weui-cell__hd"><label class="weui-label">年龄</label></div>
    <div class="weui-cell__bd">
        <input class="weui-input" type="text" value="" id="custage" placeholder="请输入年龄"/>
    </div>
</div>

<div class="weui-cell weui-cell_select weui-cell_select-after">
    <div class="weui-cell__hd">
        <label class="weui-label">与患者关系</label>
    </div>
    <div class="weui-cell__bd" >
        <select class="weui-select" name="select2" id="connect">
            <option value="1">家人</option>
            <option value="2">朋友</option>
            <option value="3">其他</option>
        </select>
    </div>
</div>



<div class="weui-btn-area">
    <a class="weui-btn weui-btn_primary" href="javascript:" id="showTooltips" onclick="return register()">注册</a>
</div>
<!--<script>-->
    <!--function compare(){-->
        <!--var a=document.getElementById('pwd1').value;-->
        <!--var b=document.getElementById('pwd2').value;-->
        <!--if(a==b){-->
            <!--document.getElementById('ts').innerHTML="密码一致!";-->
        <!--}else{-->
            <!--document.getElementById('ts').innerHTML="两次密码不一致!";-->
        <!--}-->
    <!--}-->
    <!--</script>-->
</body>

</html>
